#ifndef TMainFormProxyH
#define TMainFormProxyH
#define PLUG_DOWNLAND_HTTP 1
#define PLUG_DOWNLAND_FTP 2
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TMainFormProxy: public TObject
{
   public:
        TMainMenu *MM;
        TStatusBar *SBAR;
        TCoolBar *CBAR;
        TToolBar *TBAR1;
        TToolBar *TBAR2;
        TPanel *Panel1;
        TSplitter *Splitter1;
        TPanel *Panel2;
        TPopupMenu *CMENU;
        TTreeView *TV;
        TSplitter *Splitter2;
        TPageControl *PAGES;
        TListView *TaskLV;
        TPanel *LEFT2_PANEL;
        TForm *MainFrm;
        TMenuItem *PlugsMenu;
};
typedef struct _TaskItem{
        char* remotefile;
        char* localfile;
        bool flag;
        TObject *context;
}TaskItem;
typedef void(*TSetProxy)(TMainFormProxy *mainfrmproxy);
typedef unsigned int(*TGetPlugInType)();
typedef char *(*TGetPlugInName)();
typedef char *(*TGetPlugInMemo)();
typedef unsigned long(*TGetPlugInVersion)();
typedef void(*TSetMaxThreads)(unsigned int max);
typedef void(*TDownLoad)(char *remotefile,char *localfile,bool append);
#endif
 